package com.yike.user.service;

import com.yike.user.entity.ShopCount;
import com.yike.user.param.ShopCountPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;

/**
 * 店铺统计表 服务类
 *
 * @author Sakura
 * @since 2024-11-13
 */
public interface ShopCountService extends BaseService<ShopCount> {

    /**
     * 保存
     *
     * @param shopCount
     * @return
     * @throws Exception
     */
    boolean saveShopCount(ShopCount shopCount) throws Exception;

    /**
     * 修改
     *
     * @param shopCount
     * @return
     * @throws Exception
     */
    boolean updateShopCount(ShopCount shopCount) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteShopCount(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param shopCountPageParam
     * @return
     * @throws Exception
     */
    Paging<ShopCount> getShopCountPageList(ShopCountPageParam shopCountPageParam) throws Exception;

}
